<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>测试一</title>
		<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js"></script>
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="../js/easyui/themes/icon.css" />

		<script type="text/javascript">
			$(function() {
				$("#openBtns").click(function() {
					$("#mm").window('open');
				});
			});
			
			$("#save").click(function(){
				if($("#standardForm").form('validate')){
					//通过校验
					$("#standardForm").submit();
				}else{
					$.messager.alert("警告","表单中有非法数据....","warning");
				}
			});
			
			
		</script>
	</head>

	<body>
		<!--信息数据窗口-->
		<!--	<div id="mm" class="easyui-window" data-options="title:'标题',collapsible:false,modal:true,closed:true" style="width: 180px;height: 180px;">
			数据内容............
		</div>

		<input type="button" value="打开" id="openBtns" />
		<input type="text" name="username" />-->

		<!--下拉输入框-->
		<form id="standardForm" action="../../standard_save.action" method="post">
			<!--校验框-->
			用户名:<input type="text" name="name" class="
		easyui-validatebox" data-options="required:true" /><br />
			<!--数字校验框-->
			金额:<input type="text" name="minweight" class="easyui-numberbox" required="true" /><br />
			<!--日期输入框-->
			日期:<input type="text" name="databox" class="easyui-datebox" required="true" /><br />
<input type="submit" value="提交" />
		</form>
	</body>

</html>